﻿using System.Collections.Generic;
using System.Linq;
using System.Web.Routing;
using System.Web.Mvc;
using Xoohoo.Infrastructure;
using Xoohoo.Routing;

namespace Xoohoo.Extensions
{
    public static class RouteExtensions
    {
        public static DomainRoute WithDomain(this RouteBase route, string pattern)
        {
            return new DomainRoute(route, pattern);
        }
    }
}
